<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="jquery.min.js"></script>
</head>
<body>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
    <button>快速</button>
   <script>
        $(function(){
            //1.隐式迭代
            $("button").click(function(){
                //2.当前元素背景颜色变化
                $(this).css("background","pink");
                //3.其余的兄弟去掉颜色
                $(this).siblings("button").css("background","");
            })

        })
   </script>
</body>
</html>